<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>指尖上行</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="../../css/css.css">
<link rel="stylesheet" href="../../css/AccountComplaints.css">
<link rel="stylesheet" href="../../../bower_components/datatables.net-bs/css/dataTables.bootstrap.min.css">
<link rel="stylesheet" href="../../../bower_components/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../bower_components/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../bower_components/Ionicons/css/ionicons.min.css">
<link rel="stylesheet" href="../../../dist/css/AdminLTE.min.css">
<link rel="stylesheet" href="../../../dist/css/skins/_all-skins.min.css">
<link rel="stylesheet" href="../../../bower_components/jvectormap/jquery-jvectormap.css">
<link rel="stylesheet" href="../../../bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css">
<link rel="stylesheet" href="../../../bower_components/bootstrap-daterangepicker/daterangepicker.css">
<link rel="stylesheet" href="../../../plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">
</head>
<body class="hold-transition skin-blue sidebar-mini"  data-treeview="0" data-treeview-menu="6">
<div class="wrapper">
  <header class="main-header"> <a class="logo"> <span class="logo-mini"><b>指</b></span> <span class="logo-lg"><img src="../../img/logo.png"/></span></a>
    <nav class="navbar navbar-static-top"><a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button"></a></nav>
  </header>
  <aside class="main-sidebar">
    <section class="sidebar">
      <ul class="sidebar-menu" data-widget="tree">
      </ul>
    </section>
  </aside>
  <div class="content-wrapper">
    <section class="content-search">
      <div class="form-group">
        <label>手机号</label>
        <input type="text" class="form-control w140" placeholder="手机号" id="mobile">
      </div>
      <div class="form-group">
        <label>用户昵称</label>
        <input type="text" class="form-control w140" placeholder="用户昵称" id="userName">
      </div>
      <div class="form-group">
        <label style=" width:90px;">举报对象昵称</label>
        <input type="text" class="form-control w140" placeholder="举报对象昵称" id="reportName">
      </div>
      <div class="form-group">
        <label style=" width:80px;">举报对象ID</label>
        <input type="text" class="form-control w140" placeholder="举报对象ID" id="reportId">
      </div>
      <div class="form-group">
        <label>关键字</label>
        <input type="text" class="form-control w140" placeholder="关键字" id="reportInfo">
      </div>
      <div class="form-group">
        <label>对象</label>
        <select class="form-control w140" id="levelingType">
          <option value="">全部</option>
          <option value="0">用户</option>
          <option value="1">代练</option>
        </select>
      </div>
      <div class="form-group">
        <label>投诉时间</label>
        <div class="input-group date w140 fl">
          <div class="input-group-addon"> <i class="fa fa-calendar"></i> </div>
          <input type="text" class="form-control pull-right" id="datepicker">
        </div>
        <span>到</span>
        <div class="input-group date w140 fl">
          <div class="input-group-addon"> <i class="fa fa-calendar"></i> </div>
          <input type="text" class="form-control pull-right" id="datepicker2">
        </div>
      </div>
      <div class="form-group">
        <button type="button" class="btn btn-primary searchbtn">搜索</button>
      </div>
    </section>
    <section class="content">
      <div class="box">
        <div class="box-header">
          <h3 class="box-title">投诉列表</h3>
        </div>
        <div class="box-body">
          <table id="example1" class="table table-bordered table-striped">
            
          </table>
          <div class="paginationDiv">
            <ul class="pagination">
              <li class="prev"><a>上一页</a></li>
              <li class="next"><a>下一页</a></li>
            </ul>
            <input type="text" value="1" class="form-control curpage"/>
            <button type="button" class="btn btn-default gopage">跳转</button>
            <span class="pageinfo"></span> </div>
        </div>
      </div>
    </section>
  </div>
</div>
<script type="text/html" id="datalist">
	<thead>
	  <tr role="row">
		<th>昵称</th>
		<th>手机号</th>
		<th>举报对象ID</th>
		<th>举报对象昵称</th>
		<th>举报时间</th>
		<th>举报类型</th>
		<th>举报截图</th>
		<th>投诉内容</th>
		<th>状态</th>
		<th>操作</th>
	  </tr>
    </thead>
	<tbody>
	<%for(var i = 0,len= dataset.length;i < len;i++){%>
	  <tr role="row">
		<td><%= dataset[i].userName%></td>
		<td><%= dataset[i].mobile%></td>
		<td><%= dataset[i].reportUid%></td>
		<td><%= dataset[i].reportUserName%></td>
		<td><%= dataset[i].reportTime%></td>
		<td><%= dataset[i].reportType%></td>
		<td><img src="<%= dataset[i].reportPictures[0]==null?'../../img/defeat.png':dataset[i].reportPictures[0].picUrl%>" width="80px" /></td>
		<td><%= dataset[i].reportInfo%></td>
		<td><%= dataset[i].reportStatus==0?"已提交":"已阅"%></td>
		<td>
		<%if(dataset[i].reportStatus==0){%>
		<button type="button" class="btn btn-info btn-xs see" data-id="<%= dataset[i].id%>" data-reportUid="<%= dataset[i].uid%>" data-reportUserName="<%= dataset[i].reportUserName%>">已阅</button>
		<%}else{%>
		-
		<%}%>
		</td>
      </tr>
	<%}%>
    </tbody>
</script> 
<script src="../../../bower_components/jquery/dist/jquery.min.js"></script> 
<script src="../../../bower_components/jquery-ui/jquery-ui.min.js"></script> 
<script src="../../../bower_components/bootstrap/dist/js/bootstrap.min.js"></script> 
<script src="../../../bower_components/raphael/raphael.min.js"></script> 
<script src="../../../bower_components/jquery-sparkline/dist/jquery.sparkline.min.js"></script> 
<script src="../../../plugins/jvectormap/jquery-jvectormap-1.2.2.min.js"></script> 
<script src="../../../plugins/jvectormap/jquery-jvectormap-world-mill-en.js"></script> 
<script src="../../../bower_components/jquery-knob/dist/jquery.knob.min.js"></script> 
<script src="../../../bower_components/moment/min/moment.min.js"></script> 
<script src="../../../bower_components/bootstrap-daterangepicker/daterangepicker.js"></script> 
<script src="../../../bower_components/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js"></script> 
<script src="../../../bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.zh-CN.min.js"></script>
<script src="../../../plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js"></script> 
<script src="../../../bower_components/jquery-slimscroll/jquery.slimscroll.min.js"></script> 
<script src="../../../bower_components/fastclick/lib/fastclick.js"></script> 
<script src="../../../dist/js/adminlte.min.js"></script>   
<script src="../../js/template-web.js"></script> 
<script src="../../js/js.js"></script> 
<script src="../../js/AccountComplaints.js"></script> 
<script>
  $(function () {
	$('#datepicker').datepicker({format:"yyyy-mm-dd",language:"zh-CN",autoclose: true,todayHighlight:true});
	$('#datepicker2').datepicker({format:"yyyy-mm-dd",language:"zh-CN",autoclose: true,todayHighlight:true});
  })
</script>
</body>
</html>
